#include "triangle.h"


Triangle::Triangle(vector<int> tmp){
  for(int i=0;i<tmp.size();i++)
  {
    properties.push_back(tmp.at(i));
  }

}
string Triangle::Type()
{
    return "Triangle";
}

void Triangle::setProperties()
{
    cin >> properties.at(2) >> properties.at(3);
}
void Triangle::printProperties()
{

    cout << " weight-" << properties.at(2)
         << " height-" << properties.at(3)
         << " x-" << properties.at(0)
         << " y-" << properties.at(1)
         << " type-" << Type() << endl;
}
